package rootPackage.controller.creazione.dbProdotti;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import rootPackage.service.ProdottiService;;

public class IndexController extends Controller {

    private ProdottiService service = new ProdottiService();

    @Override
    public Navigation run() throws Exception {
        requestScope("prodottiList", service.getAll());
        return forward("/creazione/dbProdotti/Index.jsp");
    }
}

